-
Notifications
You must be signed in to change notification settings - Fork 350
Improve Search Result Side Panel to fix various bugs #1587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1. Ensures that multiple scrollbars are not shown for nested panels (click row -> surrounding context -> repeat a few times) 2. In the same state as above, closing the panel (clicking outside) then clicking another row caused the subpanel to re-open, this isn't ideal (should open to root drawer) 3. fix issue with drawers where you can scroll, then open a nested drawer, the nested drawer would appear incorrectly Fixes HDX-3171
🦋 Changeset detectedLatest commit: 4fadb07 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| <Drawer | ||
| opened={rowId != null} | ||
| withCloseButton={false} | ||
| withinPortal={!isNestedPanel} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally added in #1290 when we didn't sue mantine drawer, not needed anymore.
| opened={rowId != null} | ||
| withCloseButton={false} | ||
| withinPortal={!isNestedPanel} | ||
| withOverlay={!isNestedPanel} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This helps prevent some issues flagged originally in #1393, ensuring clicking outside closes all modals and that there isn't multiple stacking overlays (causing outside to get darker each sub-modal)
Code Review✅ No critical issues found. The changes look good overall. The PR addresses nested drawer scrollbar issues and state management correctly:
Minor consideration: |
E2E Test Results❌ 52 tests failed • 9 passed • 3 skipped • 1717s
Tests ran across 4 shards in parallel. |
Fixes HDX-3171